export default {
    //侧边栏菜单数据
    getMenuInformation: () => {
        return {
            menu: [
                {
                    id: '1',
                    path: '/home',
                    name: 'home',
                    label: '首页',
                    icon: 's-home',
                },
                {
                    id: '2',
                    label: '个人业务',
                    icon: 's-claim',
                    children: [
                        // {
                        //     id: '21',
                        //     path: '/incompleteTasks',
                        //     name: 'incompleteTasks',
                        //     label: '未完成业务',
                        //     icon: 'setting',
                        // },
                        {
                            id: '22',
                            path: '/CompleteTasks',
                            name: 'CompleteTasks',
                            label: '完成的业务',
                            icon: 'setting',
                        },
                    ]
                },
                // {
                //     id: '3',
                //     path: '/user',
                //     name: 'user',
                //     label: '用户管理',
                //     icon: 'user',
                // },
                {
                    id: '4',
                    label: '其他',
                    icon: 'location',
                    children: [
                        {
                            id: '41',
                            path: '/page01',
                            name: 'page1',
                            label: '页面1',
                            icon: 'setting',
                        },
                        {
                            id: '42',
                            path: '/page02',
                            name: 'page2',
                            label: '页面2',
                            icon: 'setting',
                        }
                    ]
                }
            ]
        }
    },
    getCardData: () => {
        return {
            countData: [
                {
                    name: "今日支付订单",
                    value: 4,
                    icon: "success",
                    color: "#2ec7c9",
                },
                {
                    name: "今日收藏订单",
                    value: 6,
                    icon: "star-on",
                    color: "#ffb980",
                },
                {
                    name: "今日未支付订单",
                    value: 2,
                    icon: "s-goods",
                    color: "#5ab1ef",
                },
                {
                    name: "本月支付订单",
                    value: 26,
                    icon: "success",
                    color: "#2ec7c9",
                },
                {
                    name: "本月收藏订单",
                    value: 366,
                    icon: "star-on",
                    color: "#ffb980",
                },
                {
                    name: "本月未支付订单",
                    value: 18,
                    icon: "s-goods",
                    color: "#5ab1ef",
                },
            ]
        }
    },
    getTableData: () => {
        return {
            tableData: [
                {
                    name: 'oppo',
                    todayBuy: 100,
                    monthBuy: 300,
                    totalBuy: 800
                },
                {
                    name: 'vivo',
                    todayBuy: 100,
                    monthBuy: 300,
                    totalBuy: 800
                },
                {
                    name: '苹果',
                    todayBuy: 100,
                    monthBuy: 300,
                    totalBuy: 800
                },
                {
                    name: '小米',
                    todayBuy: 100,
                    monthBuy: 300,
                    totalBuy: 800
                },
                {
                    name: '三星',
                    todayBuy: 100,
                    monthBuy: 300,
                    totalBuy: 800
                },
                {
                    name: '魅族',
                    todayBuy: 100,
                    monthBuy: 300,
                    totalBuy: 800
                }
            ]
        }
    }
}
